ci: Rework Dockerfile, add Justfile and improved testing
authorColin Walters <walters@verbum.org>
Fri, 30 May 2025 20:14:36 +0000 (16:14 -0400)
committerColin Walters <walters@verbum.org>
Wed, 4 Jun 2025 17:58:27 +0000 (13:58 -0400)
commitb909e15ab4036fc290e1d26516ec6177426a6a7e
treef26cc7c0b10f83a59b04200cf4c5496f510e0867
parent3efd42ac2becd0c30c4050d47424245239ab1153
ci: Rework Dockerfile, add Justfile and improved testing

- Move the Dockerfile to the toplevel as a primary dev entrypoint
- The Justfile is intended especially for agentic AI like
  block/goose or Claude Code as an allowlistable-command entrypoint
- Include attempt at incremental build caching, partially defeated
  by autotools
- Add new tests-unit-container that tests ostree-prepare-root in
  a container

Signed-off-by: Colin Walters <walters@verbum.org>
14 files changed:
.dockerignore
.github/workflows/bootc.yaml
Dockerfile [new file with mode: 0644]
Justfile [new file with mode: 0644]
Makefile-tests.am
ci/Containerfile.c9s [deleted file]
tests-unit-container/README.md [new file with mode: 0644]
tests-unit-container/run.sh [new file with mode: 0755]
tests-unit-container/test-prepare-root.sh [new file with mode: 0755]
tests/libtest.sh
tests/makecheck.py [new file with mode: 0755]
tests/test-pull-summary-sigs.sh
tests/test-signed-pull-summary.sh
tests/test-switchroot.sh [deleted file]